<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:f="http://java.sun.com/jsf/core">

<!-- Utiliza o template padrao -->
<ui:composition template="/template_home.xhtml">
	<!-- Caso nao precise redefinir algumas das areas do template (ex. esquerda, topo)
	delete a area que nao vai utilizar -->

<ui:define name="topo">
    <div class="build">
        <p>Bem vindo, <strong><h:outputText value="#{loginBean.usuarioLogado}" /></strong>!</p>
    </div>
</ui:define>

 <ui:define name="menu_direito">
    <ul>
        <li><a href="/restaurante/admin/home.xhtml" class="show"><h:outputText value="#{msg.home}"/></a></li>
        <li><a href="/restaurante/admin/pratos.xhtml"><h:outputText value="#{msg.pratos}"/></a></li>
        <li><a href="/restaurante/admin/chefes.xhtml"><h:outputText value="#{msg.chefes}"/></a></li>
        <li><a href="/restaurante/admin/promocoes.xhtml"><h:outputText value="#{msg.promocoes}"/></a></li>
        <li><a href="/restaurante/admin/eventos.xhtml"><h:outputText value="#{msg.eventos}"/></a></li>
        <li><a href="/restaurante/admin/contato.xhtml"><h:outputText value="#{msg.contato}"/></a></li>
    </ul>
</ui:define>

<ui:define name="lista_links_bottom">
    <ul>
        <li><a href="/restaurante/admin/home.xhtml" class="show"><h:outputText value="#{msg.home}"/></a></li>
        <li><a href="/restaurante/admin/pratos.xhtml"><h:outputText value="#{msg.pratos}"/></a></li>
        <li><a href="/restaurante/admin/chefes.xhtml"><h:outputText value="#{msg.chefes}"/></a></li>
        <li><a href="/restaurante/admin/promocoes.xhtml"><h:outputText value="#{msg.promocoes}"/></a></li>
        <li><a href="/restaurante/admin/eventos.xhtml"><h:outputText value="#{msg.eventos}"/></a></li>
        <li><a href="/restaurante/admin/contato.xhtml"><h:outputText value="#{msg.contato}"/></a></li>
    </ul>
</ui:define>
</ui:composition>
</html>